dart combine maps

190

final firstMap = {"1":"2"};
final secondMap = {"2":"3"};

final thirdMap = {
   ...firstMap,
   ...secondMap,
};
//thirdMap: {"1":"2",
//			 "2":"3"}

Comments

Submit
0 Comments